package com.senven.payorder.feign;

import com.senven.common.entity.Address;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author zsy
 * @Date 2022/9/9 12:20
 * @PackageName:com.senven.payorder.feign
 * @ClassName: AddressFeign
 * @Version 1.0
 */
@FeignClient(value = "senven-orderfood-address")
public interface AddressFeign {
    @PostMapping("/api/address/findAllAddressByUserid")
    List<Address> findAllAddressByUid (@RequestParam String id);
}
